package com.kgc.community.service.impl;

import com.kgc.community.mapper.RoomsMapper;
import com.kgc.community.pojo.Rooms;
import com.kgc.community.service.BuildingaddService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author Mr.Man
 * @Date 2020-12-06 16:52
 **/
@Service
public class BuildingaddServiceImpl implements BuildingaddService {
    @Resource
    RoomsMapper roomsMapper;

    @Override
    public int addRooms(Rooms rooms) {
        int i = roomsMapper.insertSelective(rooms);
        return i;
    }
}
